Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
lodash.camelcase
Advanced tools
Package description
The lodash.camelcase npm package is a utility function from the Lodash library, specifically designed to convert strings into camelCase format. This is useful in programming environments where camelCase is a standard naming convention, such as in JavaScript for variable and function names.
String Conversion to camelCase
Converts strings with spaces, dashes, underscores, or mixed separators to camelCase format, which is a common requirement in various coding standards and practices.
const _ = require('lodash.camelcase');
console.log(_.camelCase('FOO BAR')); // 'fooBar'
console.log(_.camelCase('--foo-bar--')); // 'fooBar'
console.log(_.camelCase('__FOO_BAR__')); // 'fooBar'
A comprehensive toolkit for converting text between different cases, including camel case. It offers more extensive features compared to lodash.camelcase, such as converting to snake case, pascal case, path case, and more, making it versatile for various text manipulation needs.
This package is similar to lodash.camelcase but is a standalone utility that focuses solely on converting strings to camelCase. It is lightweight and does not depend on the larger lodash library, which might be preferable for projects where minimizing dependency size is crucial.
Readme
The lodash method _.camelCase
exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.camelcase
In Node.js:
var camelCase = require('lodash.camelcase');
See the documentation or package source for more details.
FAQs
The lodash method `_.camelCase` exported as a module.
The npm package lodash.camelcase receives a total of 10,746,514 weekly downloads. As such, lodash.camelcase popularity was classified as popular.
We found that lodash.camelcase demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.